<%--
  Created by IntelliJ IDEA.
  User: xuaner
  Date: 2017/11/10
  Time: 11:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>火车票查询系统</title>
</head>
<body>
   <h1 align="center">查询车票价格</h1>
   <form action="/user/query" align="center">
      <tr align="center">
          车&nbsp;次：<td><input type="text" name="trainNum" placeholder="请输入车次"></td>
      </tr><br>
       <tr align="center">
           出发地：<td><input type="text" name="station1" placeholder="请输入起始地点"></td>
       </tr ><br>
       <tr align="center">
           目的地：<td><input type="text" name="station2" placeholder="请输入目的地"></td>
       </tr><br>
       <tr lign="center">
           <input type="submit" value="查询">
       </tr>
       <c:if test="${not empty msg}">
          <h3 style="color: red">${msg}</h3>
       </c:if>
   </form>
</body>
</html>
